home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Dev / misc / temgen.lha / Temgen / tg-0.11 / txttab.h < prev    next >
C/C++ Source or Header  |  2002-12-18  |  357b  |  19 lines

  1. #ifndef __txttab_h_
  2. #define __txttab_h_
  3.  
  4. struct txttab;
  5.  
  6. struct txttab *new_txttab( int size, int delta );
  7. void free_txttab( struct txttab* );
  8.  
  9. /* push piece of text */
  10. int tt_token( struct txttab*, const char* );
  11.  
  12. /* store line in table */
  13. int tt_store( struct txttab*, int line );
  14.  
  15. /* find line */
  16. const char *tt_find( struct txttab*, int line );
  17.  
  18. #endif
  19.